import request from '@/utils/request'

// 查询企业信息变更记录列表
export function listOrganizationInfoChange(query) {
  return request({
    url: '/system/organizationInfoChange/list',
    method: 'get',
    params: query
  })
}

// 查询企业信息变更记录详细
export function getOrganizationInfoChange(changeId) {
  return request({
    url: '/system/organizationInfoChange/' + changeId,
    method: 'get'
  })
}

// 新增企业信息变更记录
export function addOrganizationInfoChange(data) {
  return request({
    url: '/system/organizationInfoChange',
    method: 'post',
    data: data
  })
}

// 修改企业信息变更记录
export function updateOrganizationInfoChange(data) {
  return request({
    url: '/system/organizationInfoChange',
    method: 'put',
    data: data
  })
}

// 删除企业信息变更记录
export function delOrganizationInfoChange(changeId) {
  return request({
    url: '/system/organizationInfoChange/' + changeId,
    method: 'delete'
  })
}
